﻿using Jayden.Dll.Core.Persistence;
using Jayden.Dll.Core.Persistence.Attributes;

namespace Jayden.Dll.Series
{
	[Table]
	public class UserShowInfo : ObjectBase
	{
		public UserShowInfo(UnitOfWork uow) : base(uow, null, null) { }
		public UserShowInfo(UnitOfWork uow, string username, string showId) : base(uow, username, showId) { }

		[Field(PrimaryKey = true)]
		public string UserName { get { return (string)ObjectId[0]; } set { ObjectId[0] = value; } }
		[Field(PrimaryKey = true)]
		public string ShowInfoId { get { return (string)ObjectId[1]; } set { ObjectId[1] = value; } }
	}
}
